Automattic\WCShipping\Migration\LegacyLabelMigrator B

Total Complexity 77
Dependencies 8
Dependents 2
Total lines 550
Lines of code 361
Logical lines of code 160
Comment lines 105
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
get_total_pending_count()
B
36 14 92
convert_item_and_copy_label_data()
A
42 15 49
get_next_batch_to_process()
A
40 13 62
get_order_shipments()
S
48 6 40
initialize_shipments_data()
S
54 6 21
process_batch()
S
56 3 19
get_product_id_to_item_map()
S
63 4 10
get_internal_id_offset()
S
61 3 12
get_total_count()
S
60 2 15
start()
S
68 2 7
stop()
S
71 2 6
__construct()
S
76 1 4
get_name()
S
79 1 3
get_description()
S
79 1 3
get_default_batch_size()
S
82 1 3
needs_migration()
S
80 1 3
migration_queued()
S
75 1 4
add_internal_shipment_id()
S
69 1 8